# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wlr-randr
pkgver=0.1.0
pkgrel=0
pkgdesc="Utility to manage outputs of a Wayland compositor"
url="https://github.com/emersion/wlr-randr"
license="MIT"
arch="all"
options="!check" # no test suite
makedepends="meson wayland-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/emersion/wlr-randr/archive/v$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="84a710b28243acb13d37c81d1f796d7e251aa52d6a7f299a4cdb0d0ebe6481d57db6757a1a813fc6bbe3fbd9d7fccefb09385c523f857abef72f3ee398f0d958  wlr-randr-0.1.0.tar.gz"
